<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="fullscreen">
  <div class="scroll_contentx">
    <div class="topfixed">
      <div class="t_left"><a href="/index.php" class="goBack"><i class="back"></i></a></div>
      <div class="t_main">商品搜索</div>
      <div class="t_right">
        <div class="ico_search" id="cl-search"></div>
      </div>
    </div>
    <div class="paddingheight"></div>
    <div class="search-box" id="search-box">
      <div class="l">
        <div class="mn">
          <input type="text" name="keyword" id="keyword" placeholder="请输入商名称">
        </div>
      </div>
      <div class="r">
        <button class="btn" type="button" id="search-submit">搜索</button>
      </div>
    </div>
    <script>
    
	
	$(document).on("click","#cl-search",function(){
		$("#search-box").toggle();
		 
	});
	 
	$(document).on("click","#search-submit",function(){
		window.location='/index.php?m=shop_prolist&keyword='+$("#keyword").val();
	});
    </script> 
    
    <div class="list">
    	{foreach item=c from=$data}
        	<div class="item"></div>
        {/foreach}
    </div>
  </div>
</div>
</body>
</html>
